<template>
  <div>
    <a-form>
      <a-result title="发布成功" :is-success="false" style="max-width: 560px; margin: 40px auto 0;">
        <template #extra>
          <a-button type="primary" @click="finish">重新发布</a-button>
          <a-button style="margin-left: 8px" @click="toOrderList">查看任务列表</a-button>
        </template>
      </a-result>
    </a-form>
  </div>
</template>

<script>
export default {
  name: 'Step3',
  data () {
    return {
      loading: false
    }
  },
  methods: {
    finish () {
      this.$emit('finish')
    },
    toOrderList () {
      this.$router.push('/task/tasklist/index')
    }
  }
}
</script>
<style lang="less" scoped>
  .information {
    line-height: 22px;
    .ant-row:not(:last-child) {
      margin-bottom: 24px;
    }
  }
  .money {
    font-family: "Helvetica Neue",sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 14px;
  }
</style>